<extend name="Public/index"/>
<block name="pageHeader">
    <div class="upper"><a class="fal" href="javascript:history.go(-1)">返回</a>

        <h1>搜索</h1>
    </div>
</block>
<block name="pageContent">
    <div class="search">
        <form method="POST" action="{:U('Search/index')}">
            <input class="wbk" name="title" type="text" placeholder="请输入关键字" value="{:I('title')}">
            <input class="go" type="submit">
        </form>
    </div>
    <notempty name="searchList">
    <div class="list-box">
        <volist name="searchList" id="vo">
            <li>
                <div class="list-pic"><a href="{:U('Article/detail', array('id'=>$vo['id']))}"><img src="{$vo.cover_id|get_cover='path'}"></a></div>
                <div class="list-con">
                    <h5><a href="{:U('Article/detail', array('id'=>$vo['id']))}">{$vo.title}</a></h5>
                    <p><a href="{:U('Article/detail', array('id'=>$vo['id']))}">{$vo.description}</a></p>
                    <div class="time">{$vo.create_time|time_format} <a href="javascript:;">{$vo.source}</a></div>
                    <div class="collection"><a class="tb1" href="javascript:;">215</a> <a class="tb2" href="javascript:;" article-id="{$vo.id}">{$vo.bookmark}</a></div>
                </div>
            </li>
        </volist>
    </div>
    </notempty>
</block>